<?php
/* @var $this DropDownController */
/* @var $model DropDown */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'drop-down-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

<!--	<p class="note">Fields with <span class="required">*</span> are required.</p>-->

	<?php echo $form->errorSummary($model); ?>

    <div class="row">
        <?php echo $form->labelEx($model,'name'); ?>
<!--        --><?php //echo $form->textField($model,'name'); ?>
<!--        --><?php //echo $form->dropDownList($model,'name',array('location'=>'Расположение','type'=>'Типы жилья ','beds'=>'Кроватей','bath'=>'Душевых'),array('style'=>'width:142px')); ?>
        <?php echo $form->dropDownList($model,'name',array('location'=>'Расположение','type'=>'Типы жилья '),array('style'=>'width:142px')); ?>
        <?php echo $form->error($model,'name'); ?>
    </div>

	<div class="row">
		<?php echo $form->labelEx($model,'select'); ?>
		<?php echo $form->textField($model,'select'); ?>
		<?php echo $form->error($model,'select'); ?>
	</div>

    <div class="row">
        <?php echo $form->labelEx($model,'select_ru'); ?>
        <?php echo $form->textField($model,'select_ru'); ?>
        <?php echo $form->error($model,'select_ru'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'select_jp'); ?>
        <?php echo $form->textField($model,'select_jp'); ?>
        <?php echo $form->error($model,'select_jp'); ?>
    </div>

    <div class="row">
        <?php echo $form->labelEx($model,'select_ua'); ?>
        <?php echo $form->textField($model,'select_ua'); ?>
        <?php echo $form->error($model,'select_ua'); ?>
    </div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->